package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.KM.VO.KmDocParamVO;
import org.jeecg.modules.KM.VO.KmDocVO;
import org.jeecg.modules.system.entity.CrawlComponent;

/**
 * @Author wt
 * @Date: 2024/9/25 11:19
 * @Description:
 */
public interface IScrawlComponentService extends IService<CrawlComponent> {

    Page<CrawlComponent> queryComponent(Page<CrawlComponent> page, CrawlComponent component);

    /**
     * 新增
     *
     * @return 结果
     */
    public int insertCrawlComponent(CrawlComponent crawlComponent);

    /**
     * 删除变量
     * @param id
     * @return
     */
    public int deleteComponent(Long id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public int deleteBatchComponent(Long[] ids);

}
